﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL.Model
{
    /// <summary>
    /// 表CommNews:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class CommNews
    {
        public CommNews()
        { }
        #region Model
        private string _newskey;
        private string _title;
        private string _content;
        private string _newsource;
        private string _author;
        private string _keyword;
        private DateTime? _createtime;
        private string _creator;
        private DateTime? _updatetime;
        private string _updator;
        private string _imageurl;
        private string _newstype;
        /// <summary>
        /// 新闻主键
        /// </summary>
        public string NewsKey
        {
            set { _newskey = value; }
            get { return _newskey; }
        }
        /// <summary>
        /// 新闻标题
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 新闻内容
        /// </summary>
        public string Content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 新闻来源
        /// </summary>
        public string NewSource
        {
            set { _newsource = value; }
            get { return _newsource; }
        }
        /// <summary>
        /// 作者
        /// </summary>
        public string Author
        {
            set { _author = value; }
            get { return _author; }
        }
        /// <summary>
        /// 关键字
        /// </summary>
        public string KeyWord
        {
            set { _keyword = value; }
            get { return _keyword; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string Creator
        {
            set { _creator = value; }
            get { return _creator; }
        }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 更新人
        /// </summary>
        public string Updator
        {
            set { _updator = value; }
            get { return _updator; }
        }
        /// <summary>
        /// 首页展示的图片路径
        /// </summary>
        public string ImageUrl
        {
            set { _imageurl = value; }
            get { return _imageurl; }
        }
        /// <summary>
        /// 新闻类型
        /// </summary>
        public string NewsType
        {
            set { _newstype = value; }
            get { return _newstype; }
        }
        #endregion Model

    }
}
